package com.ronri.ams.bean;

import java.util.List;

/**
 * 文件：ams.java
 * 包名：com.ronri.ams.bean;
 * 说明：
 * 作者：MS During
 * 日期：2017/5/18
 * 历史：
 */
public class sampleDetail {

    /**
     * code : 0
     * data : {"create_user":11,"detector_id":174,"id":30,"inspectd_unit":17146,"is_deleted":0,"project_id":54,"sample_area":"3204","sample_attach":[{"attach_code":"30_11","attach_format":".jpg","attach_id":19,"attach_name":"timg","attach_size":"29.10kb","attach_url":"http://localhost:8080/ams/upload/image/20170515/1494813701353.jpg","create_time":"2017-05-15 10:01:41","create_user":11,"id":19,"is_deleted":0,"sample_id":30}],"sample_breed":[{"bar_code":"32","breed_base":321,"breed_byname":"黄瓜","breed_ext1":"","breed_id":1365,"breed_number":123,"breed_source":"123","create_user":11,"id":98,"is_deleted":0,"remark":"","sample_breed_id":98,"sample_id":30,"sample_location":"武进区郑陆镇羌家村委中巷","status":5},{"bar_code":"321","breed_base":321,"breed_byname":"南瓜","breed_ext1":"","breed_id":1364,"breed_number":123,"breed_source":"1232","create_user":11,"id":99,"is_deleted":0,"remark":"","sample_breed_id":99,"sample_id":30,"sample_location":"武进区郑陆镇羌家村委中巷","status":5}],"sample_date":"2017-05-14 00:00:00","sample_id":30,"sample_user":"13,14,12","section":"2","section_type":123,"status":2,"task_id":30}
     * message : success
     * success : true
     */

    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * create_user : 11
         * detector_id : 174
         * id : 30
         * inspectd_unit : 17146
         * is_deleted : 0
         * project_id : 54
         * sample_area : 3204
         * sample_attach : [{"attach_code":"30_11","attach_format":".jpg","attach_id":19,"attach_name":"timg","attach_size":"29.10kb","attach_url":"http://localhost:8080/ams/upload/image/20170515/1494813701353.jpg","create_time":"2017-05-15 10:01:41","create_user":11,"id":19,"is_deleted":0,"sample_id":30}]
         * sample_breed : [{"bar_code":"32","breed_base":321,"breed_byname":"黄瓜","breed_ext1":"","breed_id":1365,"breed_number":123,"breed_source":"123","create_user":11,"id":98,"is_deleted":0,"remark":"","sample_breed_id":98,"sample_id":30,"sample_location":"武进区郑陆镇羌家村委中巷","status":5},{"bar_code":"321","breed_base":321,"breed_byname":"南瓜","breed_ext1":"","breed_id":1364,"breed_number":123,"breed_source":"1232","create_user":11,"id":99,"is_deleted":0,"remark":"","sample_breed_id":99,"sample_id":30,"sample_location":"武进区郑陆镇羌家村委中巷","status":5}]
         * sample_date : 2017-05-14 00:00:00
         * sample_id : 30
         * sample_user : 13,14,12
         * section : 2
         * section_type : 123
         * status : 2
         * task_id : 30
         */

        private int create_user;
        private int detector_id;
        private int id;
        private int inspectd_unit;
        private int is_deleted;
        private int project_id;
        private String sample_area;
        private String sample_date;
        private int sample_id;
        private String sample_user;
        private String section;
        private int section_type;
        private int status;
        private int task_id;
        private List<SampleAttachBean> sample_attach;
        private List<SampleBreedBean> sample_breed;

        public int getCreate_user() {
            return create_user;
        }

        public void setCreate_user(int create_user) {
            this.create_user = create_user;
        }

        public int getDetector_id() {
            return detector_id;
        }

        public void setDetector_id(int detector_id) {
            this.detector_id = detector_id;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getInspectd_unit() {
            return inspectd_unit;
        }

        public void setInspectd_unit(int inspectd_unit) {
            this.inspectd_unit = inspectd_unit;
        }

        public int getIs_deleted() {
            return is_deleted;
        }

        public void setIs_deleted(int is_deleted) {
            this.is_deleted = is_deleted;
        }

        public int getProject_id() {
            return project_id;
        }

        public void setProject_id(int project_id) {
            this.project_id = project_id;
        }

        public String getSample_area() {
            return sample_area;
        }

        public void setSample_area(String sample_area) {
            this.sample_area = sample_area;
        }

        public String getSample_date() {
            return sample_date;
        }

        public void setSample_date(String sample_date) {
            this.sample_date = sample_date;
        }

        public int getSample_id() {
            return sample_id;
        }

        public void setSample_id(int sample_id) {
            this.sample_id = sample_id;
        }

        public String getSample_user() {
            return sample_user;
        }

        public void setSample_user(String sample_user) {
            this.sample_user = sample_user;
        }

        public String getSection() {
            return section;
        }

        public void setSection(String section) {
            this.section = section;
        }

        public int getSection_type() {
            return section_type;
        }

        public void setSection_type(int section_type) {
            this.section_type = section_type;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getTask_id() {
            return task_id;
        }

        public void setTask_id(int task_id) {
            this.task_id = task_id;
        }

        public List<SampleAttachBean> getSample_attach() {
            return sample_attach;
        }

        public void setSample_attach(List<SampleAttachBean> sample_attach) {
            this.sample_attach = sample_attach;
        }

        public List<SampleBreedBean> getSample_breed() {
            return sample_breed;
        }

        public void setSample_breed(List<SampleBreedBean> sample_breed) {
            this.sample_breed = sample_breed;
        }

        public static class SampleAttachBean {
            /**
             * attach_code : 30_11
             * attach_format : .jpg
             * attach_id : 19
             * attach_name : timg
             * attach_size : 29.10kb
             * attach_url : http://localhost:8080/ams/upload/image/20170515/1494813701353.jpg
             * create_time : 2017-05-15 10:01:41
             * create_user : 11
             * id : 19
             * is_deleted : 0
             * sample_id : 30
             */

            private String attach_code;
            private String attach_format;
            private int attach_id;
            private String attach_name;
            private String attach_size;
            private String attach_url;
            private String create_time;
            private int create_user;
            private int id;
            private int is_deleted;
            private int sample_id;

            public String getAttach_code() {
                return attach_code;
            }

            public void setAttach_code(String attach_code) {
                this.attach_code = attach_code;
            }

            public String getAttach_format() {
                return attach_format;
            }

            public void setAttach_format(String attach_format) {
                this.attach_format = attach_format;
            }

            public int getAttach_id() {
                return attach_id;
            }

            public void setAttach_id(int attach_id) {
                this.attach_id = attach_id;
            }

            public String getAttach_name() {
                return attach_name;
            }

            public void setAttach_name(String attach_name) {
                this.attach_name = attach_name;
            }

            public String getAttach_size() {
                return attach_size;
            }

            public void setAttach_size(String attach_size) {
                this.attach_size = attach_size;
            }

            public String getAttach_url() {
                return attach_url;
            }

            public void setAttach_url(String attach_url) {
                this.attach_url = attach_url;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public int getCreate_user() {
                return create_user;
            }

            public void setCreate_user(int create_user) {
                this.create_user = create_user;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getIs_deleted() {
                return is_deleted;
            }

            public void setIs_deleted(int is_deleted) {
                this.is_deleted = is_deleted;
            }

            public int getSample_id() {
                return sample_id;
            }

            public void setSample_id(int sample_id) {
                this.sample_id = sample_id;
            }
        }

        public static class SampleBreedBean {
            /**
             * bar_code : 32
             * breed_base : 321
             * breed_byname : 黄瓜
             * breed_ext1 :
             * breed_id : 1365
             * breed_number : 123
             * breed_source : 123
             * create_user : 11
             * id : 98
             * is_deleted : 0
             * remark :
             * sample_breed_id : 98
             * sample_id : 30
             * sample_location : 武进区郑陆镇羌家村委中巷
             * status : 5
             */

            private String bar_code;
            private int breed_base;
            private String breed_byname;
            private String breed_ext1;
            private int breed_id;
            private int breed_number;
            private String breed_source;
            private int create_user;
            private int id;
            private int is_deleted;
            private String remark;
            private int sample_breed_id;
            private int sample_id;
            private String sample_location;
            private int status;

            public String getBar_code() {
                return bar_code;
            }

            public void setBar_code(String bar_code) {
                this.bar_code = bar_code;
            }

            public int getBreed_base() {
                return breed_base;
            }

            public void setBreed_base(int breed_base) {
                this.breed_base = breed_base;
            }

            public String getBreed_byname() {
                return breed_byname;
            }

            public void setBreed_byname(String breed_byname) {
                this.breed_byname = breed_byname;
            }

            public String getBreed_ext1() {
                return breed_ext1;
            }

            public void setBreed_ext1(String breed_ext1) {
                this.breed_ext1 = breed_ext1;
            }

            public int getBreed_id() {
                return breed_id;
            }

            public void setBreed_id(int breed_id) {
                this.breed_id = breed_id;
            }

            public int getBreed_number() {
                return breed_number;
            }

            public void setBreed_number(int breed_number) {
                this.breed_number = breed_number;
            }

            public String getBreed_source() {
                return breed_source;
            }

            public void setBreed_source(String breed_source) {
                this.breed_source = breed_source;
            }

            public int getCreate_user() {
                return create_user;
            }

            public void setCreate_user(int create_user) {
                this.create_user = create_user;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getIs_deleted() {
                return is_deleted;
            }

            public void setIs_deleted(int is_deleted) {
                this.is_deleted = is_deleted;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public int getSample_breed_id() {
                return sample_breed_id;
            }

            public void setSample_breed_id(int sample_breed_id) {
                this.sample_breed_id = sample_breed_id;
            }

            public int getSample_id() {
                return sample_id;
            }

            public void setSample_id(int sample_id) {
                this.sample_id = sample_id;
            }

            public String getSample_location() {
                return sample_location;
            }

            public void setSample_location(String sample_location) {
                this.sample_location = sample_location;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }
    }
}
